import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
  routes:[
    {
      path: '/Home',
      name:'Home',
      component:()=>import('@/views/Home'),
    },
    {
      path: '/AllocationItems',
      name:'AllocationItems',
      component:()=>import('@/views/Allocate/AllocationItems'),
    },
    {
      path:'/PurchaseData',
      name:'PurchaseData',
      component:()=>import('@/views/PurchaseData'),
    },
    {
      path:'/InboundItems',
      name:'inboundItems',
      component:()=>import('@/views/InboundItems'),
    },
    {
      path:'/SearchInventory',
      name:'SearchInventory',
      component:()=>import('@/views/SearchInventory'),
    },
    {
      path:'/ScrapItems',
      name:'ScrapItems',
      component:()=>import('@/views/ScrapItems'),
    },
    {
      path:'/Chart',
      name:'Chart',
      component:()=>import('@/views/Chart'),
    },
    {
      path:'/',
      name:'Login',
      component:()=>import('@/views/Login'),
    },
    {
      path:'/Index',
      name:'index',
      component:()=>import('@/views/index'),
    },
    {
      path:'/User',
      name:'user',
      component:()=>import('@/views/User'),
    },
    {
      path:'/Menu',
      name:'Menu',
      component:()=>import('@/views/Menu'),
    },
    {
      path:'/Inventory',
      name:'Inventory',
      component:()=>import('@/views/Menu/Inventory'),
    },

  ]
})
